package com.yang.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by 杨天可 on 2022/3/29 10:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@Table(name = "sys_user_role")
public class SysUserRole implements Serializable {

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "role_id")
    private Integer roleId;
}
